package com.xique.system.bean.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shd
 * @create 2022/4/11 15:22
 */
@Data
public class SystemUserChangePwdRequest {

    @NotNull(message = "请传入用户id")
    private Long userId;

    @NotBlank(message = "请传入旧密码")
    private String oldPassword;

    @NotBlank(message = "请传入新密码")
    private String newPassword;

}
